Update small_variants.py#23
Merged
Merged
Conversation
Making filter duplicates by default as true
Updated GitHub Actions workflow for Docker publishing to use improved metadata extraction, caching, and vulnerability scanning. Refactored Dockerfile to use multi-stage builds, non-root user, and health checks. Improved generate_gbcms_cmd in small_variants.py for better argument validation, output handling, and command construction.
Expanded the GitHub Actions workflow to support multiple Python versions, improved caching for pip and tox, added code style checks, and introduced a dedicated lint job using pre-commit. The workflow now runs tests across Python 3.7–3.10, uploads coverage for 3.8, and enforces code quality standards.
Removed the matrix strategy from the GitHub Actions workflow to run tests exclusively on Python 3.8 and Ubuntu. Updated cache keys and steps to reflect the single environment, streamlining CI and reducing complexity.
Replaces legacy setup.py, Makefile, tox.ini, MANIFEST.in, and Travis CI with pyproject.toml and modernizes CI/CD using GitHub Actions for validation, Docker, and PyPI publishing. Updates Dockerfile for improved reproducibility and caching, switches dependency management to requirements.in/requirements.txt, and refactors development dependencies. This streamlines packaging, testing, and deployment workflows.
Introduces .pre-commit-config.yaml with hooks for code style, linting, and type checking. Updates GitHub Actions workflow to install pre-commit, set up hooks, and run checks automatically during validation.
Simplifies uv installation and usage in the GitHub Actions workflow by updating the install command and PATH handling. Directly uses 'uv' for package and pre-commit installation, improving readability and maintainability.
The GitHub Actions workflow now creates and activates a uv-managed virtual environment before installing dependencies. Also fixed a typo in the pyproject.toml description string.
The GitHub Actions workflow now explicitly creates the virtual environment with Python 3.8 and uses pip for package installation and pre-commit setup. The pyproject.toml adds Python 3.9 and 3.10 to classifiers and bumps the package version to 0.3.9.
Replaces 'uv venv' with 'python -m venv' for environment creation and ensures pip, setuptools, and wheel are upgraded before installing build tools. This improves compatibility and reliability of the CI setup.
Updated GitHub Actions workflow to ensure the Python virtual environment is activated before running dependency installation, pre-commit checks, security scans, package builds, and code style checks. This improves environment consistency and reliability across workflow steps.
Deleted .pre-commit-config.yaml and setup.cfg, and removed pre-commit and related linting steps from the GitHub Actions workflow. The CI workflow is now focused on validation and code style checks, streamlining the process and removing unused configuration files.
The CI workflow now runs pytest on the tests directory instead of performing code style and type checks with black, flake8, isort, and mypy.
Updated version to 0.3.9 across package files. Refactored code for consistent use of double quotes, improved formatting, and enhanced readability in multiple modules. Made minor logic and style improvements in command generation, dataframe creation, and test files for better maintainability.
Bump minimum supported Python version from 3.8 to 3.9 across workflows, Dockerfile, documentation, and configuration files. Update CONTRIBUTING guidelines and pyproject.toml to reflect support for Python 3.9, 3.10, and 3.11. Adjust requirements.txt header to match new Python version.
Updated version numbers in __init__.py files and pyproject.toml to 0.3.10 for a new release.
This was
linked to
issues
Sep 4, 2025
Closed
Modified the test job condition to handle cases where github.event.head_commit is null, preventing errors when the event does not include a head commit.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Making filter duplicates by default as true